package cn.lyd.domain;

public class Dept {
    private Long deptid;
    private String dname;
    private Long managerid;
    private String tel;
    private Integer num;


    @Override
    public String toString() {
        return "Dept{" +
                "deptid=" + deptid +
                ", dname='" + dname + '\'' +
                ", managerid=" + managerid +
                ", tel='" + tel + '\'' +
                ", num=" + num +
                '}';
    }

    public Long getDeptid() {
        return deptid;
    }

    public void setDeptid(Long deptid) {
        this.deptid = deptid;
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }

    public Long getManagerid() {
        return managerid;
    }

    public void setManagerid(Long managerid) {
        this.managerid = managerid;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Dept(Long deptid, String dname, Long managerid, String tel, Integer num) {
        this.deptid = deptid;
        this.dname = dname;
        this.managerid = managerid;
        this.tel = tel;
        this.num = num;
    }

    public Dept() {
    }
}
